﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.FP;
using Coldairarrow.IBusiness.DTO;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.FP
{
    public partial interface IBase_OverFlowLogBusiness
    {
        Task<PageResult<Base_OverFlowLog>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Base_OverFlowLog> GetTheDataAsync(string id);
        Task AddDataAsync(Base_OverFlowLog data);
        Task UpdateDataAsync(Base_OverFlowLog data);
        Task DeleteDataAsync(List<string> ids);
        Task<Base_OverFlowLoglist> GetOverFlowLoglist(string BillId, string OverFlowId, string Type);
        /// <summary>
        /// 钉钉查看历史审批记录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PageResult<ApprovalTask>> GetApprovalTaskList(PageInput<ConditionDTO> input);
        Task<List<DingDesignListCC>> GetDingDesignListCC(string BillId, string BillType);
    }
}